package se.webbzon.boltzmann.player;

import se.webbzon.boltzmann.input.Input;
import se.webbzon.oschi01.worldcamera.WorldView;

public class PlayerConfiguration {
	
	// The view of the player
	private WorldView view;
	
	// The input of the player
	private Input input;
	
	/*============================================================
	Constructors
	============================================================*/
	
	/** Creates a new player configuration. **/
	public PlayerConfiguration() {
		this(null,null);
	}
	
	/** Creates a new player configuration associated with a view and 
	 * an input. **/
	public PlayerConfiguration(WorldView view, Input input) {
		this.view = view;
		this.input = input;
	}
	
	/*============================================================
	Public Methods
	============================================================*/
	
	/** Returns the view of this player. **/
	public WorldView getView() {
		return view;
	}

	/** Sets the view of this player. **/
	public void setView(WorldView view) {
		this.view = view;
	}

	/** Returns the input of this player. **/
	public Input getInput() {
		return input;
	}

	/** Sets the input of this player. **/
	public void setInput(Input input) {
		this.input = input;
	}

}
